package models

// 租户权限
type CasbinRuleMer struct {
	Ptype *string `gorm:"column:ptype"` // p:policy,e:effect,r:request,m:matcher
	V0 *string `gorm:"column:v0"` 
	V1 *string `gorm:"column:v1"` 
	V2 *string `gorm:"column:v2"` 
	V3 *string `gorm:"column:v3"` 
	V4 *string `gorm:"column:v4"` 
	V5 *string `gorm:"column:v5"` 
	Type *int8 `gorm:"column:type"` // 1:关系(用户角色租户) 2:按钮 3:菜单 4:目录 5:api
}
func (entity *CasbinRuleMer) TableName() string {
	return "casbin_rule_mer"
}